package com.usian.apis.admin;

import com.usian.model.admin.pojos.AdChannel;
import com.usian.model.common.dtos.ChannelDto;
import com.usian.model.common.dtos.ResponseResult;
import io.swagger.annotations.Api;

@Api(value = "")
public interface AdChannelControllerApi {
    /**
     * 根据名称分页查询频道列表
     * @param dto
     * @return
     */
    public ResponseResult findByNameAndPage(ChannelDto dto);

    public ResponseResult saveOrUpdateChannel(AdChannel adChannel);
    public ResponseResult DeleteChannel(Integer id);

}
